package cn.growthgate.fgo.entity.enums;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IEnum;

public enum ItemType implements IEnum {

	MATERIAL(0, "技能&灵基素材"),
	BISCUITS(1, "技能强化素材"),
	PIECE(2, "灵基再临素材"),
	ACTIVITY(3, "活动限定灵基素材"),
	SPECIAL(4, "特殊道具"),
	APPLE(5, "行动力回复道具"),
	SUMMON(6, "灵基召唤道具"),
	PLATE(7, "特殊召唤道具"),
	CUBE(8, "兑换道具");

	private int value;
	private String desc;

	private ItemType(final int value, final String desc) {
		this.value = value;
		this.desc = desc;
	}

	@Override
	public Serializable getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public String toString() {
		return getDesc();
	}
	
}
